// constSpringDisSerial.h: interface for the ConstSpringDisSerial class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CONSTSPRINGDISSERIAL_H__1CD3F8ED_D01D_49DE_96AE_8A9BF84E0873__INCLUDED_)
#define AFX_CONSTSPRINGDISSERIAL_H__1CD3F8ED_D01D_49DE_96AE_8A9BF84E0873__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ConstSpringDataSet.h"
#include "afxtempl.h"

class ConstSpringDisSerial : public ConstSpringDataSet 
{
public:
	ConstSpringDisSerial();
	virtual ~ConstSpringDisSerial();

public:
	BOOL GetDisSerial();

	DOUBLE GetFirstDis(DOUBLE dbDis);
	DOUBLE GetNextDis();

	virtual BOOL InitProperty(ModelObject& object);

private:
	const CString& GetDisSerialTable();

private:
	CArray<DOUBLE, DOUBLE> m_theDisSerial;
	INT m_nIndex;
};

#endif // !defined(AFX_CONSTSPRINGDISSERIAL_H__1CD3F8ED_D01D_49DE_96AE_8A9BF84E0873__INCLUDED_)
